package com.fubowen.lepton.ui.home.suggest

import android.view.View
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.fubowen.lepton.R
import com.fubowen.lepton.bean.Suggest

class SuggestViewHolder(view: View) : RecyclerView.ViewHolder(view) {

    private val title: TextView

    init {
        title = view.findViewById(R.id.view_suggest_item_title)
    }

    fun bind(suggest: Suggest?) {
        title.text = suggest?.title
    }
}